package routers

import "github.com/gin-gonic/gin"

func ApiRouterInit(r *gin.Engine) {
	apiRouters := r.Group("/api")
	{
		apiRouters.GET("/", func(ctx *gin.Context) {
			ctx.JSON(200, "api首页")
		})
		apiRouters.GET("/userList", func(ctx *gin.Context) {
			ctx.JSON(200, "api用户列表")
		})
	}
}
